package com.my.security.dao;

import com.my.security.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface UserMapper {

    @Select("select * from SYS_USER where username=#{username}")
    User getUserByName(String username);
}
